﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="interestMeThumb.ascx.cs" Inherits="VISS.Web.Frontend.Modules.User.Profile.InterestMeThumbControl" %>

<%@ Import Namespace="VISS.Web.Frontend" %>
<%@ Import Namespace="VISS.API.Users" %>

<%for (int i = 0; i < InterestMeProfiles.Count; i++) { %>
    <div class="interest-thumb-box">
        <div class="top">
	        <div class="top-icon">
	            <img src="<%=AppSettings.ResourcesPath %>/images/icon-light-on.jpg" />
	        </div>
	        <a class="name" href="/profile?u=<%=InterestMeProfiles[i].FollowerUserKey %>"><%=InterestMeProfiles[i].Name %></a>
	    </div>
        <div class="top-info"><%= InterestMeProfiles[i].Age%> Tuổi, <%= InterestMeProfiles[i].City %></div>
        <div class="bottom">
	        <div class="avatar">
	            <a href="/profile?u=<%=InterestMeProfiles[i].FollowerUserKey %>"><img src="<%=AvatarUtils.GetAvatarThumbPath(InterestMeProfiles[i].AvatarFileName, InterestMeProfiles[i].AvatarImageStoreID, InterestMeProfiles[i].Gender, InterestMeProfiles[i].AvatarStatus) %>" /></a>
	        </div>
            <div class="right">
	            <div class="right-item">
	                <% if (CanDoAction) { %>
	                    <a href="album?u=<%=InterestMeProfiles[i].FollowerUserKey %>"><img src="<%=AppSettings.ResourcesPath %>/images/icon-view-picture.jpg" title="Xem hình ảnh của <%=InterestMeProfiles[i].Name %>" /></a>
	                <% } else { %>
	                    <a href="javascript:void(0);" onclick="jAlert(VarifiedAccountRequired);"><img src="<%=AppSettings.ResourcesPath %>/images/icon-view-picture.jpg" title="Xem hình ảnh của <%=InterestMeProfiles[i].Name %>" /></a>
	                <% } %>
	            </div>
	            <div class="right-item">
	                <img src="<%=AppSettings.ResourcesPath %>/images/icon-send-message.jpg" onclick="SendMessagePopup('<%= InterestMeProfiles[i].FollowerUserKey %>');" title="Gửi tin nhắn cho <%=InterestMeProfiles[i].Name %>" />
	            </div>
	            
	            <% if (((EvtNoelUserFollowerEnt)InterestMeProfiles[i]).GoOut) { %>
                    <div class="noel-item">
	                    <img src="<%=AppSettings.ResourcesPath %>/images/icon-tet.png" title="<%=InterestMeProfiles[i].Name %> đang tìm bạn cùng đi chơi Tết" />
	                </div>
	            <% } %>
            </div>
            <div class="under"><img src="<%=AppSettings.ResourcesPath %>/images/border-avatar.jpg" /></div>
        </div>
    </div>
<%} %>

